.sy-container {
  width: 100%;
  min-height: 100vh;
  background-color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  padding-bottom: 80px; /* 为底部导航栏留出空间 */
}

/* 顶部导航栏 */
.sy-navbar {
  background-color: white;
  border-bottom: 1px solid #e8e8e8;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-icon {
  font-size: 16px;
  color: #666;
}

/* 主横幅区域 */
.hero-banner {
  
  
  border-radius: 20px;
  padding: 15px;
  color: white;
  position: relative;
  overflow: hidden;
}

.hero-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.banner-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}

.banner-text h1 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 8px 0;
  line-height: 1.2;
}

.banner-text h2 {
  font-size: 18px;
  font-weight: 500;
  margin: 0;
  opacity: 0.9;
}

.banner-illustrations {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.illustration-item {
  font-size: 20px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 8px;
  text-align: center;
  min-width: 40px;
  backdrop-filter: blur(10px);
}

/* 快速访问按钮 */
.quick-access {
  display: flex;
  gap: 12px;
  padding: 0 16px;
  margin-bottom: 16px;
}

.quick-btn {
  flex: 1;
  height: 80px;
  border-radius: 12px;
  border: none;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.registration-btn {
  background-color: #1890ff;
  color: white;
}

.payment-btn {
  background-color: #13c2c2;
  color: white;
}

.btn-content {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.btn-text {
  text-align: left;
}

.btn-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.btn-subtitle {
  font-size: 12px;
  opacity: 0.8;
}

/* 公告栏 */
.announcement-bar {
  background-color: white;
  padding: 12px 16px;
  margin: 0 16px 16px 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.announcement-label {
  font-weight: 600;
  color: #333;
  font-size: 14px;
}

.announcement-text {
  color: #666;
  font-size: 14px;
  flex: 1;
}

/* 标签导航 */
.tab-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
  margin-bottom: 20px;
}

.tabs {
  display: flex;
  gap: 24px;
}

.tab {
  font-size: 16px;
  color: #666;
  cursor: pointer;
  padding: 8px 0;
  position: relative;
  transition: all 0.3s ease;
  user-select: none;
}

.tab:hover {
  color: #1890ff;
  transform: translateY(-1px);
}

.tab.active {
  color: #1890ff;
  font-weight: 600;
}

.tab.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #1890ff;
  border-radius: 1px;
}

.more-link {
  color: #999;
  font-size: 14px;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.more-link:hover {
  color: #1890ff;
  background-color: #f0f8ff;
  transform: translateY(-1px);
}

.more-link:active {
  transform: translateY(0);
  background-color: #e6f7ff;
}

/* 服务网格 */
.service-grid {
  padding: 0 16px;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 8px;
  background-color: white;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.service-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.service-icon {
  font-size: 24px;
  margin-bottom: 8px;
  background-color: #f0f8ff;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-name {
  font-size: 12px;
  color: #333;
  text-align: center;
  line-height: 1.4;
}

/* 悬浮智能客服按钮 */
.floating-service {
  position: fixed;
  right: 20px;
  bottom: 100px;
  z-index: 1000;
}

.floating-ball {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #1890ff, #40a9ff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(24, 144, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.floating-ball::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.floating-ball:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 8px 25px rgba(24, 144, 255, 0.6);
  animation-play-state: paused;
}

.floating-ball:hover::before {
  opacity: 1;
}

.floating-ball:active {
  transform: scale(0.95);
}

.ball-text {
  font-size: 12px;
  color: white;
  z-index: 1;
  position: relative;
  font-weight: 500;
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
}

/* 健康资讯区域 */
.health-info {
  padding: 0 16px;
  margin-bottom: 24px;
}

.info-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 0 0 16px 0;
}

.news-card {
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.news-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.news-text {
  flex: 1;
  font-size: 14px;
  color: #333;
  line-height: 1.5;
}

.news-image-placeholder {
  width: 60px;
  height: 60px;
  background-color: #f5f5f5;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

/* 底部导航栏 */
.bottom-navigation {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: white;
  border-top: 1px solid #e8e8e8;
  display: flex;
  justify-content: space-around;
  padding: 8px 0;
  z-index: 1000;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #666;
  border-radius: 8px;
}

.nav-item:hover {
  background-color: #f0f0f0;
  transform: translateY(-1px);
}

.nav-item:active {
  transform: translateY(0);
  background-color: #e0e0e0;
}

.nav-item.active {
  color: #1890ff;
}

.nav-item span {
  font-size: 12px;
  font-weight: 500;
}

.nav-item .nav-icon {
  font-size: 20px;
  line-height: 1;
}

/* 响应式设计 */
@media (max-width: 375px) {
  .hero-banner {
    margin: 12px;
    padding: 20px;
  }
  
  .banner-text h1 {
    font-size: 20px;
  }
  
  .banner-text h2 {
    font-size: 16px;
  }
  
  .quick-access {
    padding: 0 12px;
    gap: 8px;
  }
  
  .quick-btn {
    height: 70px;
    padding: 12px;
  }
  
  .btn-title {
    font-size: 14px;
  }
  
  .btn-subtitle {
    font-size: 11px;
  }
  
  .announcement-bar {
    margin: 0 12px 12px 12px;
    padding: 10px;
  }
  
  .tab-navigation {
    padding: 0 12px;
  }
  
  .service-grid {
    padding: 0 12px;
  }
  
  .service-item {
    padding: 12px 6px;
  }
  
  .service-icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  
  .service-name {
    font-size: 11px;
  }
  
  .health-info {
    padding: 0 12px;
  }
  
  .floating-service {
    right: 16px;
    bottom: 90px;
  }
  
  .floating-ball {
    width: 50px;
    height: 50px;
  }
  
  .ball-text {
    font-size: 10px;
  }
}

/* 滚动条样式 */
.sy-container::-webkit-scrollbar {
  width: 4px;
}

.sy-container::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.sy-container::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 2px;
}

.sy-container::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}
